package com.business.user.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 会员套餐表 实体类
 * @author chenjiehong
 * @date 2019-12-01 22:14:08
 * @since 1.0
 */
@TableName(value = "membership_package")
public class MembershipPackage  {

	private static final long serialVersionUID = 1L;

    // columns START

	@TableId(value = "id",type=IdType.AUTO)
	private Integer id; 

	/**
	 * 套餐名称
	 */
	private String name; 

	/**
	 * 套餐描述
	 */
	private String describe; 

	/**
	 * 套餐开始时间
	 */
	@TableField(value = "begin_time")
	private Date beginTime; 

	/**
	 * 套餐结束时间
	 */
	@TableField(value = "end_time")
	private Date endTime; 

	/**
	 * 套餐价格
	 */
	private java.math.BigDecimal price; 

	/**
	 * 数量
	 */
	private Integer quantity; 
	// columns END

	public Integer getId() {
		return id;
	}

    public void setId(Integer id) {
    	this.id = id;
    }
	public String getName() {
		return name;
	}

    public void setName(String name) {
    	this.name = name;
    }
	public String getDescribe() {
		return describe;
	}

    public void setDescribe(String describe) {
    	this.describe = describe;
    }
	public Date getBeginTime() {
		return beginTime;
	}

    public void setBeginTime(Date beginTime) {
    	this.beginTime = beginTime;
    }
	public Date getEndTime() {
		return endTime;
	}

    public void setEndTime(Date endTime) {
    	this.endTime = endTime;
    }
	public java.math.BigDecimal getPrice() {
		return price;
	}

    public void setPrice(java.math.BigDecimal price) {
    	this.price = price;
    }
	public Integer getQuantity() {
		return quantity;
	}

    public void setQuantity(Integer quantity) {
    	this.quantity = quantity;
    }
	
	@Override
	public String toString() {
		String log = ""; 
		log += "[id:" + getId() + "]";
		log += "[name:" + getName() + "]";
		log += "[describe:" + getDescribe() + "]";
		log += "[beginTime:" + getBeginTime() + "]";
		log += "[endTime:" + getEndTime() + "]";
		log += "[price:" + getPrice() + "]";
		log += "[quantity:" + getQuantity() + "]";
		return log;
	}
}